package com.bjpowernode.boss.mvc.service;

import com.bjpowernode.boss.mvc.models.dto.LoginResultDto;
import com.bjpowernode.boss.mvc.models.dto.MenusDto;
import com.bjpowernode.boss.mvc.models.query.LoginQuery;

import java.util.List;

public interface OperatorService {

    LoginResultDto login(LoginQuery loginQuery);

    List<MenusDto> getMenus(Integer operatorId);

    void logout(Integer operatorId);
}
